			
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using DDF.Entity;
using System.Runtime.Serialization;
using ARR.Entities.Gateways;
		
namespace ARR.Entities
{
	[DataContract]
	[Serializable]	
	public partial class TempPIDifference : EntityBase
	{
		[DataMember]
		private TempPIDifferenceRow row;
		
		public TempPIDifference(TempPIDifferenceRow row)
		{
			this.row = row;
		}
		
		public TempPIDifference()
		{
			this.row = new TempPIDifferenceRow();
		}
		
		[DataMember]
		public int Id
		{
			get { return row.Id; }
			set { row.Id = value; }
		}

		[DataMember]
		public string ArticleCode
		{
			get { return row.ArticleCode; }
			set { row.ArticleCode = value; }
		}

		[DataMember]
		public string StoreCode
		{
			get { return row.StoreCode; }
			set { row.StoreCode = value; }
		}

		[DataMember]
		public DateTime Date
		{
			get { return row.Date; }
			set { row.Date = value; }
		}

		[DataMember]
		public int? PIDiffUnits
		{
			get { return row.PIDiffUnits; }
			set { row.PIDiffUnits = value; }
		}

		[DataMember]
		public decimal? PIDiff
		{
			get { return row.PIDiff; }
			set { row.PIDiff = value; }
		}

		[DataMember]
		public int? ChargeOffsUnits
		{
			get { return row.ChargeOffsUnits; }
			set { row.ChargeOffsUnits = value; }
		}

		[DataMember]
		public decimal? ChargeOffs
		{
			get { return row.ChargeOffs; }
			set { row.ChargeOffs = value; }
		}

		[DataMember]
		public decimal? Rebates
		{
			get { return row.Rebates; }
			set { row.Rebates = value; }
		}

		[DataMember]
		public int? ArticleId
		{
			get { return row.ArticleId; }
			set { row.ArticleId = value; }
		}

		[DataMember]
		public int? StoreId
		{
			get { return row.StoreId; }
			set { row.StoreId = value; }
		}

		
		public TempPIDifferenceRow GetRow()
        {
            return row;
        }
		
	} 
} 
